package org.nanfang.test10;

import java.util.Random;

public class RGBThach extends Thread{
    @Override
    public void run() {
        int r = new Random().nextInt(256);
        System.out.println(this.getName() +","+ r);
    }
    public RGBThach(String name){
        super(name);
    };
}
